#include "EncodedSymbol.h"


EncodedSymbol::EncodedSymbol(int value, int lenght)
{
	this -> value = value;
	this -> lenght = lenght;
}

EncodedSymbol::~EncodedSymbol(void)
{
	// empty destructor
}

int EncodedSymbol::getValue() const 
{
	return value;
}

void EncodedSymbol::setValue(int val) 
{
	this -> value = val;
}

int EncodedSymbol::getLenght() const 
{
	return lenght;
}

void EncodedSymbol::setLength(int lenght) {
	this -> lenght = lenght;
}